# -*- coding:utf-8 -*-
# @Time:2024/4/1921:01
# @Author:miuzg
# @FileName:new test2.py
# @Software:PyCharm
import json

miuzg = ['miuzg', 19, 'boy', True, 165]
with open('demo.json', 'w', encoding='utf-8')as f:
    json.dump(miuzg, f, ensure_ascii=False)
with open('demo.json', 'r', encoding='utf-8')as f:
    data = json.load(f)
print(type(data))
print(data[-1])
